View Javadoc

1   package uba.db.jdbc;
2   
3   import java.sql.Connection;
4   import java.sql.ResultSet;
5   import java.sql.SQLException;
6   import java.sql.SQLWarning;
7   
8   
9   /***
10   * @version $Revision: 1.1.1.1 $
11   */
12  public class Statement implements java.sql.Statement {
13  
14      public Statement(Connection connection, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException {
15          if (resultSetType != java.sql.ResultSet.TYPE_FORWARD_ONLY) {
16              throw new UnsupportedResultSetTypeException();
17          }
18          if (resultSetConcurrency != java.sql.ResultSet.CONCUR_READ_ONLY) {
19              throw new UnsupportedResultSetConcurrencyModeException();
20          }
21      }
22  
23      /* (non-Javadoc)
24       * @see java.sql.Statement#executeQuery(java.lang.String)
25       */
26      public ResultSet executeQuery(String sql) throws SQLException {
27          // TODO Auto-generated method stub
28          return null;
29      }
30  
31      /* (non-Javadoc)
32       * @see java.sql.Statement#executeUpdate(java.lang.String)
33       */
34      public int executeUpdate(String sql) throws SQLException {
35          // TODO Auto-generated method stub
36          return 0;
37      }
38  
39      /* (non-Javadoc)
40       * @see java.sql.Statement#close()
41       */
42      public void close() throws SQLException {
43      // TODO Auto-generated method stub
44  
45      }
46  
47      /* (non-Javadoc)
48       * @see java.sql.Statement#getMaxFieldSize()
49       */
50      public int getMaxFieldSize() throws SQLException {
51          // TODO Auto-generated method stub
52          return 0;
53      }
54  
55      /* (non-Javadoc)
56       * @see java.sql.Statement#setMaxFieldSize(int)
57       */
58      public void setMaxFieldSize(int max) throws SQLException {
59      // TODO Auto-generated method stub
60  
61      }
62  
63      /* (non-Javadoc)
64       * @see java.sql.Statement#getMaxRows()
65       */
66      public int getMaxRows() throws SQLException {
67          // TODO Auto-generated method stub
68          return 0;
69      }
70  
71      /* (non-Javadoc)
72       * @see java.sql.Statement#setMaxRows(int)
73       */
74      public void setMaxRows(int max) throws SQLException {
75      // TODO Auto-generated method stub
76  
77      }
78  
79      /* (non-Javadoc)
80       * @see java.sql.Statement#setEscapeProcessing(boolean)
81       */
82      public void setEscapeProcessing(boolean enable) throws SQLException {
83      // TODO Auto-generated method stub
84  
85      }
86  
87      /* (non-Javadoc)
88       * @see java.sql.Statement#getQueryTimeout()
89       */
90      public int getQueryTimeout() throws SQLException {
91          // TODO Auto-generated method stub
92          return 0;
93      }
94  
95      /* (non-Javadoc)
96       * @see java.sql.Statement#setQueryTimeout(int)
97       */
98      public void setQueryTimeout(int seconds) throws SQLException {
99      // TODO Auto-generated method stub
100 
101     }
102 
103     /* (non-Javadoc)
104      * @see java.sql.Statement#cancel()
105      */
106     public void cancel() throws SQLException {
107     // TODO Auto-generated method stub
108 
109     }
110 
111     /* (non-Javadoc)
112      * @see java.sql.Statement#getWarnings()
113      */
114     public SQLWarning getWarnings() throws SQLException {
115         // TODO Auto-generated method stub
116         return null;
117     }
118 
119     /* (non-Javadoc)
120      * @see java.sql.Statement#clearWarnings()
121      */
122     public void clearWarnings() throws SQLException {
123     // TODO Auto-generated method stub
124 
125     }
126 
127     /* (non-Javadoc)
128      * @see java.sql.Statement#setCursorName(java.lang.String)
129      */
130     public void setCursorName(String name) throws SQLException {
131     // TODO Auto-generated method stub
132 
133     }
134 
135     /* (non-Javadoc)
136      * @see java.sql.Statement#execute(java.lang.String)
137      */
138     public boolean execute(String sql) throws SQLException {
139         // TODO Auto-generated method stub
140         return false;
141     }
142 
143     /* (non-Javadoc)
144      * @see java.sql.Statement#getResultSet()
145      */
146     public ResultSet getResultSet() throws SQLException {
147         // TODO Auto-generated method stub
148         return null;
149     }
150 
151     /* (non-Javadoc)
152      * @see java.sql.Statement#getUpdateCount()
153      */
154     public int getUpdateCount() throws SQLException {
155         // TODO Auto-generated method stub
156         return 0;
157     }
158 
159     /* (non-Javadoc)
160      * @see java.sql.Statement#getMoreResults()
161      */
162     public boolean getMoreResults() throws SQLException {
163         // TODO Auto-generated method stub
164         return false;
165     }
166 
167     /* (non-Javadoc)
168      * @see java.sql.Statement#setFetchDirection(int)
169      */
170     public void setFetchDirection(int direction) throws SQLException {
171     // TODO Auto-generated method stub
172 
173     }
174 
175     /* (non-Javadoc)
176      * @see java.sql.Statement#getFetchDirection()
177      */
178     public int getFetchDirection() throws SQLException {
179         // TODO Auto-generated method stub
180         return 0;
181     }
182 
183     /* (non-Javadoc)
184      * @see java.sql.Statement#setFetchSize(int)
185      */
186     public void setFetchSize(int rows) throws SQLException {
187     // TODO Auto-generated method stub
188 
189     }
190 
191     /* (non-Javadoc)
192      * @see java.sql.Statement#getFetchSize()
193      */
194     public int getFetchSize() throws SQLException {
195         // TODO Auto-generated method stub
196         return 0;
197     }
198 
199     /* (non-Javadoc)
200      * @see java.sql.Statement#getResultSetConcurrency()
201      */
202     public int getResultSetConcurrency() throws SQLException {
203         // TODO Auto-generated method stub
204         return 0;
205     }
206 
207     /* (non-Javadoc)
208      * @see java.sql.Statement#getResultSetType()
209      */
210     public int getResultSetType() throws SQLException {
211         // TODO Auto-generated method stub
212         return 0;
213     }
214 
215     /* (non-Javadoc)
216      * @see java.sql.Statement#addBatch(java.lang.String)
217      */
218     public void addBatch(String sql) throws SQLException {
219     // TODO Auto-generated method stub
220 
221     }
222 
223     /* (non-Javadoc)
224      * @see java.sql.Statement#clearBatch()
225      */
226     public void clearBatch() throws SQLException {
227     // TODO Auto-generated method stub
228 
229     }
230 
231     /* (non-Javadoc)
232      * @see java.sql.Statement#executeBatch()
233      */
234     public int[] executeBatch() throws SQLException {
235         // TODO Auto-generated method stub
236         return null;
237     }
238 
239     public java.sql.Connection getConnection() throws SQLException {
240         // TODO Auto-generated method stub
241         return null;
242     }
243 
244     /* (non-Javadoc)
245      * @see java.sql.Statement#getMoreResults(int)
246      */
247     public boolean getMoreResults(int current) throws SQLException {
248         // TODO Auto-generated method stub
249         return false;
250     }
251 
252     /* (non-Javadoc)
253      * @see java.sql.Statement#getGeneratedKeys()
254      */
255     public ResultSet getGeneratedKeys() throws SQLException {
256         // TODO Auto-generated method stub
257         return null;
258     }
259 
260     /* (non-Javadoc)
261      * @see java.sql.Statement#executeUpdate(java.lang.String, int)
262      */
263     public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException {
264         // TODO Auto-generated method stub
265         return 0;
266     }
267 
268     /* (non-Javadoc)
269      * @see java.sql.Statement#executeUpdate(java.lang.String, int[])
270      */
271     public int executeUpdate(String sql, int[] columnIndexes) throws SQLException {
272         // TODO Auto-generated method stub
273         return 0;
274     }
275 
276     /* (non-Javadoc)
277      * @see java.sql.Statement#executeUpdate(java.lang.String, java.lang.String[])
278      */
279     public int executeUpdate(String sql, String[] columnNames) throws SQLException {
280         // TODO Auto-generated method stub
281         return 0;
282     }
283 
284     /* (non-Javadoc)
285      * @see java.sql.Statement#execute(java.lang.String, int)
286      */
287     public boolean execute(String sql, int autoGeneratedKeys) throws SQLException {
288         // TODO Auto-generated method stub
289         return false;
290     }
291 
292     /* (non-Javadoc)
293      * @see java.sql.Statement#execute(java.lang.String, int[])
294      */
295     public boolean execute(String sql, int[] columnIndexes) throws SQLException {
296         // TODO Auto-generated method stub
297         return false;
298     }
299 
300     /* (non-Javadoc)
301      * @see java.sql.Statement#execute(java.lang.String, java.lang.String[])
302      */
303     public boolean execute(String sql, String[] columnNames) throws SQLException {
304         // TODO Auto-generated method stub
305         return false;
306     }
307 
308     /* (non-Javadoc)
309      * @see java.sql.Statement#getResultSetHoldability()
310      */
311     public int getResultSetHoldability() throws SQLException {
312         // TODO Auto-generated method stub
313         return 0;
314     }
315 
316 }